package com.gs.service.attribute;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.gs.dao.AttributeDao;
import com.gs.pojo.Attribute;
@Service("attributeService")
public class AttributeServiceImpl implements AttributeService{
	
	@Resource
	private AttributeDao attributeDao;

	public List<Attribute> selectGuestRoomLevel() {
		return attributeDao.selectGuestRoomLevel();
	}

	public List<Attribute> selectRoomState() {
		return attributeDao.selectRoomState();
	}


	public List<Attribute> selectIsPay() {
		return attributeDao.selectIsPay();
	}

	@Override
	public List<Attribute> selectGender() {
		return attributeDao.selectGender();
	}

	@Override
	public List<Attribute> selectNation() {
		return attributeDao.selectNation();
	}

	@Override
	public List<Attribute> selectPassengerLevel() {
		return attributeDao.selectPassengerLevel();
	}

	@Override
	public List<Attribute> selectEducationDegree() {
		return attributeDao.selectEducationDegree();
	}

	@Override
	public List<Attribute> selectPapers() {
		return attributeDao.selectPapers();
	}

	@Override
	public List<Attribute> selectThingReason() {
		return attributeDao.selectThingReason();
	}

	public List<Attribute> selectPredetermineState() {
		return attributeDao.selectPredetermineState();
	}

	public List<Attribute> selectPayWay() {
		return attributeDao.selectPayWay();
	}

	@Override
	public List<Attribute> selectBillUnit() {
		return attributeDao.selectBillUnit();
	}

	@Override
	public List<Attribute> selectRentOutType() {
		return attributeDao.selectRentOutType();
	}

	@Override
	public List<Attribute> selectPassengerType() {
		return attributeDao.selectPassengerType();
	}

	@Override
	public List<Attribute> selectCommodityType() {
		return attributeDao.selectCommodityType();
	}

	@Override
	public int insertAll(int newid, String newname) {
		return attributeDao.insertAll(newid, newname);
	}

	@Override
	public int deleteById(Integer id) {
		return attributeDao.deleteById(id);
	}

	@Override
	public List<Attribute> selectUOM() {
		return attributeDao.selectUOM();
	}

}
